/**
 * Created by kfzx-zhaohq01 on 2018/1/4.
 */
import {NativeModules } from 'react-native';

const InitIFTideRouter=NativeModules.IFTideRouter


let IFTideRouter={
    navigate:(routerName,businessName,params,isDismissCur='1')=>{

        InitIFTideRouter.navigate(routerName,businessName,JSON.stringify(params),isDismissCur)



    },
    goBack:(routerName)=>{
        InitIFTideRouter.goBack(routerName)
    }
}

export default IFTideRouter;